package com.eclink.asset.hardware.domain.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseAudit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 硬件
 * 
 * @author chenshixian
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Device extends BaseAudit {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String number;

    private String name;

    private String address;

    private Integer hardwareType;

    /**
     * 所属用户ID
     */
    private Long userId;

    private String brand;

    private String model;

    @ApiModelProperty("删除标识")
    private Integer delFlag;

    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    // 端口号
    private String port;

    // 是否自动启动
    private Integer autoStartFlag;

    // 状态
    private Integer status;

}
